//
//  WBMessageTableViewController.swift
//  weibo
//
//  Created by yanghong on 15/12/5.
//  Copyright © 2015年 杨鸿. All rights reserved.
//

import UIKit

class WBMessageTableViewController: WBVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        
        if !isUserLogin {
        
        visitorView?.setVisitorInfo("visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
           return
        }
     setupUI()
    }
    
    private func setupUI() {
    
    navigationItem.leftBarButtonItem = UIBarButtonItem( title: "发现群", target: self, action: "dicoverGroup")
    
    }

    @objc private func dicoverGroup() {
    
         navigationController?.pushViewController(WBTempViewController(), animated: true)
    
    }

}
